package com.servicesDirectory.dao.organisation.directorate;

import java.sql.Connection;
import java.sql.Statement;
import java.util.List;

import com.servicesDirectory.common.exception.FunctionalException;
import com.servicesDirectory.common.exception.SystemException;
import com.servicesDirectory.common.vo.organisation.DirectorateVO;
import com.servicesDirectory.dao.BaseDAO;

public interface DirectorateDAO extends BaseDAO {
	public boolean insert(DirectorateVO dir) throws FunctionalException, SystemException;
    public boolean update(DirectorateVO dir) throws FunctionalException, SystemException;
    public List<DirectorateVO> list(String filter, boolean isInclude) throws FunctionalException, SystemException;
    public Connection getConnection();
    public void closeConnection(Connection con, Statement st);
    public List<DirectorateVO> search(int directorateID);
}
